import axios from 'axios'
axios.defaults.baseURL = 'http://run.niren.org'
export default {
  post (url, data = {}) {
    return axios.post(url, data)
  },
  get (url, data = {}) {
    return axios.get(url, {params:data})
  }
}